Fixed bug related to incorrectly counting data points