omelasticsearch: straighten out statistics counters

Conflicts:

	plugins/omelasticsearch/omelasticsearch.c