added count
Merge pull request #5 from fpinter/master

added count