getting the count for only user transactions