Input: Sentence: 'A man shows a kid how to cut something on a boat'. Count the number of nouns in this sentence.
Output: 3