code: function () {
  		var chartOptions = this.chartOptions,
  			getValueCount = function (type) {
  				return (Highcharts.seriesTypes[type || 'line'].prototype.pointArrayMap || [0]).length;
  			},
  			globalType = chartOptions && chartOptions.chart && chartOptions.chart.type,
  			individualCounts = [];
  
  		each((chartOptions && chartOptions.series) || [], function (series) {
  			individualCounts.push(getValueCount(series.type || globalType));
  		});
  
  		this.valueCount = {
  			global: getValueCount(globalType),
  			individual: individualCounts
  		};
  	}
docs: Get the column distribution. For example, a line series takes a single column for
  Y values. A range series takes two columns for low and high values respectively,
  and an OHLC series takes four columns.