Text this: (ε,δ)-approximate counting algorithm for large scale wireless sensor networks