Hello, Gitahi,
Thank you for writing to us!
We would like to inform you that it is possible to configure such aggregations via the calculated values. Please check the following example: https://jsfiddle.net/flexmonster/kfq64xm0/. Calculated values SUMIF Price >= 170
and COUNTIF Price >= 170
demonstrate this approach.
Please let me know if it helps.
Regards,
Tanya