Input: Sentence: 'A fresh head of broccoli is circled by its equally green leaves'. Count the number of nouns in this sentence.
Output: 3