Input: Sentence: 'A pink flower lies beside another that is in a vase'. Count the number of nouns in this sentence.
Output: 2