Input: Sentence: 'The actions of baseball players take place in a game'. Count the number of nouns in this sentence.
Output: 5