add String.count method