Fix `count` method return value.
Return number represented as integer instead of string.