Counting words line by line

Sign in to test your solution.