Geometrical properties of Maslov indices in the semiclassical trace formula for the density of states.