add RTC-based implementation of the counter driver. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>