remove useless count check on