suggest printing the count to stderr here, so we can see progress as it runs?