The answer is
Había tres gatos en la escuela
We will use había for impersonal sentences, it does not matter if the noun that follows is plural, the form is maintained (había). So, habian and hubieron do not match in this answer, neither Son because the sentence talks about existence.