add MerchantRepository#most_revenue(x) and MerchantRepository#most_items(x), along with necessary tests and assisting methods