Fixed String#count behaviour with multi-byte strings.

Multi-byte characters were not taken into account.