Edited com_sales_countsheet run_count function to consolidate loops.