Added count assertion
Merge pull request #119 from janmarek/jm-assert-count

Added count assertion