fix `.count` to accept options
Merge pull request #13 from Empeeric/master

fix `.count` to accept options