def get_account_transactions_count(account_id): path = '{0}/{1}/transactions/count'.format(resource_path, account_id) params = dict(accountId=account_id) return count_from_xml(get(path=path, params_dict=params))
def get_orders_count(user_id=None): path = "{0}/{1}".format(resource_path, "count") params = dict() if user_id: params.update(userId=user_id) return count_from_xml(get(path=path, params_dict=params))
def get_performers_count(): path = "{0}/{1}".format(resource_path, "count") return count_from_xml(get(path=path))