I want to count number of points in a grid and I tried this:
Python: Create a grid and count the number of points in each grid cell
but it doesn\'t work!