returns the total count of items in a chart. In case of dynamic loading the method returns the expected count of items
var count = myChart.dataCount();