getPurchasesCount