getSeriesCount() method added