Adding convenience function to Plot

Adding getDataPointsSize() to Plot.