Input: Sentence: 'Someone is building a toy railroad at their workshop'. Count the number of nouns in this sentence.
Output: 3