testing set count bug