Input: Sentence: 'Cat sitting on wooden cutting board with knife'. Count the number of nouns in this sentence.
Output: 4