Inlines knots_num() and adds an inlined utility function for computing the total number of points in a nurbs curve. This should avoid potential code duplication and allows behavior to be searched for. Named function 'control_points_num()' to differentiate from the 'points_num' variable (referencing the number of unique points). Pull Request: https://projects.blender.org/blender/blender/pulls/140248