fixed small running bugs in count tags