Fix sats class include
Refactor edd_get_total_sales() to use edd_count_payments()