Input: Sentence: 'A skateboarder doing a trick on a half pipe'. Count the number of nouns in this sentence.
Output: 3