Implements MerchantRepository.revenue, which returns total revenue for a date.