Monitoring total robots in system

Solution 1:

Yes, although only within a given network.

By connecting a Roboport to the circuit network, you can obtain from it the total and available number of both robot types for that logistic network. You can then use this information to cut production of robots (e.g. by deactivating inserters).

If you want, as stated in your example, start production whenever you have less than 100 robots, use the available numbers, which count the robots that are currently idle, while the total numbers counts all robots in the network, idle or working.