add count
"not to be confused with itertools.count"
Merge pull request #71 from mrocklin/count

add count