Number of counters of ESP32 Project

Hello,

I want to add a lot of energy counters to my Home assistant setup.
I have a utility closet with a lot of Energy counters, gas pulse counter, water counter etc…

How many counters can i add on a single ESP32 module ?
From reading the datasheets it looks like there are 8 counters on one module. Is this correct?

I have a total of 14 pulse counters in my utility closet.

This https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ says that there at least 27 input pins available.How are you doing the counting?

In the ESP32 manual:

4.15 Pulse Counter
The pulse counter captures pulse and counts pulse edges through seven modes. It has 8 channels; each channel captures four signals at a time. The four input signals include two pulse signals and two control signals. When the counter reaches a defined threshold, an interrupt is generated.

So i’m confused how many counters there are…