Input: Sentence: 'A male tennis player in mid air action on the court'. Count the number of nouns in this sentence.
Output: 5