Iterate over coordinates and log the count