Grafana Pie Chart Query - Elasticsearch 5 X Group By Terms Error Length Not Defined