Hi Keu ,
You can achieve the same using exception aggregation as count with reference characteristics as Product and Product Group.
Create a formula and on aggregation tab, exception aggreg: count, ref characteristic = Product .Product Group etc
Also you can use formula variables as well
Check below .
Thanks