add waitstate in counts