Feature/counting algorithms (follow-up of PR #128)

This is a follow-up of PR #128.
In this PR:
* The `num_points`'s `range_count` class does not check, in order to compute the number of points, if the starting and ending point of an open geometry are identical.
* The unit test for `num_points` also tests cases of open geometries.