Google play install count

I have a question, Suppose some one download my application apk from 3rd part source. Then it will count on playstore as install..?

Or playstore count all install only from playstore account only.?