Word Count Pipeline

Kata: Create a pipeline that counts the number of words.

Please output the count of each word in the following format:

  word:count
  ball:5
  book:3

Refer to your katas above.