It depends on exactly what you want and what you can get locally at your place.
Basically, a two-way meter is enough. That gives you 70% hard and the heat pump runs on household electricity.
With the right inverter and an S0 meter, you get 70% soft. And if you take a second S0 meter, you can even measure the heat pump electricity. For example, this is needed to determine the annual performance factor.
With a cascade, you can probably use the heat pump tariff additionally. Whether this is worth it, you have to assess yourself. For us, it was not worth it from the beginning (initially had 2 meters). When the photovoltaic system came, it was rewired and the second meter was removed. It even had the nice side effect that the blackout period was eliminated.