There (1) was a farm near their new house, and there (2) were horses, cows and a few sheep there (3).
Then his birthday came. His parents gave him a few nice presents — but there (4) was no pony. Derek was sad.
В предложениях четыре раза употреблено слово there. ← В каком/каких случае/случаях there - граммема, а в каком/каких - лексема? Почему?