fix: bug for count()