You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you will be presented with a question and you have to answer the question based on your knowledge. Your answers should be as short as possible.

Who were the builders of the mosque in Herat with fire temples ?
Solution: Ghurids
Why? This is a good example. Ghurids were the builders of the mosque in Herat with fire temples.

New input: How many events were at the Olympics in which David Cal was flag bearer for Spain ?
Solution:
302