GPIO binary sensor pin as pulse meter sensor

I have a KMP Prodino that hosts a mcp23s08 hub for GPIO extension. I want to connect a water meter as a pulse meter sensor. Any idea on how to configure? My pulse reading:

binary_sensor:
    - platform: gpio
      name: "water_cistern_front_1l_pulse"
      pin:
        mcp23xxx: mcp23s08_hub
        number: 0
        mode: INPUT
        inverted: True

and my standard pulse_meter on a standard ESP

sensor:

  - platform: pulse_meter
    pin: 13
    name: "Garden Water Pulse Meter"
    unit_of_measurement: "l/min"
    icon: "mdi:water"
    timeout: 60s
    accuracy_decimals: 0
    internal_filter_mode: pulse
    internal_filter: 0.2s
    filters:
      - multiply: 10
    total:
      name: "Garden Water Meter Total"
      unit_of_measurement: "m³"
      id: garden_water_meter_total
      accuracy_decimals: 3
      device_class: water
      state_class: total_increasing
      filters:
        - multiply: 0.01

how to combine/bring the GPIO pin to the pulse meter?
Thanks for reading!
mcmuller