Using only ESP8266 to read CT and send via Wifi

I think Simon cross-posted. See ESP8266 Dev Kit - pulse counter
I’m assuming from the context that it’s pulses from an electricity kWh meter that he wants to count.