add support for counters in influx api
include counters supports for influx-api
fix counter metric