Count Number Of Words Leetcode