How many devices can connect to one beacon at same time?

Can one beacon detect the distance between each devices to beacon?
Like one is 5m to beacon, another is 7m, third is 15m?


Beacons don't calculate distance, basically they only broadcast data. Mobile devices detect distance to a beacon by a RSSI value.