Input: Sentence: 'A person doing a skateboard trick off the back tailgate'. Count the number of nouns in this sentence.
Output: 5