number of modes