If you have 6 or more toilet compartments or a combination of 6 toilet compartments and urinals, one must be ambulatory. Six or more whether a combination or by themselves.
213.3.1Toilet Compartments.
Where toilet compartments are provided, at least one toilet compartment shall comply with 604.8.1. In addition to the compartment required to comply with 604.8.1, at least one compartment shall comply with 604.8.2 where six or more toilet compartments are provided, or where the combination of urinals and water closets totals six or more fixtures.
Advisory 213.3.1 Toilet Compartments. A toilet compartment is a partitioned space that is located within a toilet room, and that normally contains no more than one water closet. A toilet compartment may also contain a lavatory. A lavatory is a sink provided for hand washing. Full-height partitions and door assemblies can comprise toilet compartments where the minimum required spaces are provided within the compartment.