Input: Sentence: 'A stop sign is leaning to its side at an intersection'. Count the number of nouns in this sentence.
Output: 4