Gas meter ESP Home - which best solution

Hello,
Please set which setting for gas consumption calculation is best.
Connection via ESPHome ESP8266 and magnetic sensor.

I found different variants using pulse_counter or pulse_meter,

Can anyone write me the best solution for ESPHome and Home Asssitant. well thank you