bug on the count interface