add and document .count() method
Merge pull request #5 from deoxxa/add-count

add and document .count() method