Adds support for ESP32 general-purpose Counters Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>