The problem: For each months in a interval (fromdate-todate), I would like to know how many customers there are in each customer_category (defined by buckets of order amount