Hi Anushree,
If I have understood your question correctly-
'Il a trois maisons' would be, 'He has three houses'
'Il Y a trois maisons' = There are three houses
Il Y A is an idiomatic expression which can be conjugated across tenses but has only one form IL, an impersonal pronoun.
Hope this helps!