count assertions fix