I need a way to count subtotals if they meet a qualifying condition.

I have the subtotals in place.

What I am trying to do is count how many customers via their email addresses purchased 1 transaction, 2 transactions, 3 transactions, and so forth – based on the subtotals.

Is this possible? Please let me know if this is not clear enough.