Fixes Emmet, to make counters robust