Fixed issue #8. Count is returned as a string but was compared using typesafe comparison.
Merge pull request #9 from maciekish/master

Fixed issue #8