Three-phase heat pump energy monitoring

I want to monitor the energy consumption of a three-phase heat pump. I connected a Shelly 3EM to the pump inlet electrical cable.
How to correctly sum up the energy consumed by all phases and how to make it so that I can monitor the electricity consumption during the day, month, selected period? I would like to see the data as a number instead of a graph.