Australia is seen as a favourable destination, but the number of homes bought by foreign buyers has been falling, figures show.