Add count function
Merge remote-tracking branch 'upstream/master'
Merge pull request #4 from janih/master

Count function