Fixed issue #8. Count is returned as a string but was compared using typesafe comparison.