Fix attempted assingment of the data to the count variable.