Implement updateCount from liuggio/statsd-php-client v1.0.12
Clear data after sent, so clients can call send on demand in additional to app shutdown