2 answers
If you are using Accounts, Opportunities, and Products, you can create a rollup summary field on the Account that SUMs Opportunities. You might need to create rollup summary fields on Opportunity to COUNT or SUM OppLineItems for a specific Product.