It is impossible to know without directly asking the admissions team! And then they'd just give a standard response...
A good reference probably helped. But you have to remember you wouldn't be the only one with a fantastic reference and from a well regarded referee. They would have taken all the information you provided into account, and the fact that you're already doing research would be a massive factor.
Does it affect your choice of project?!