Input: Sentence: 'A guy grinds a rail on his skateboard'. Count the number of nouns in this sentence.
Output: 3