count measures and aliases as specs