Input: Sentence: 'An airline pilot with tattoos and wearing a tie looking down'. Count the number of nouns in this sentence.
Output: 4