How to know whether you should be investing in a house or a unit