Small fix for keen count function.