Input: Sentence: 'The hotdog is cooked, toppings have been added, and it's ready to be eaten'. Count the number of nouns in this sentence.
Output: 2