add total_checkouts method to Cashier class