[InfluxDB] Added more query functions

InfluxDB support more functions that the limited function reported on actual version:

 * http://influxdb.org/docs/query_language/functions.html

this add support to:

 * ```count```
 * ```mean```
 * ```median```
 * ```distinct```
 * ```fist```
 * ```last```