Arduino Yun number of wifi devices it can be connected

I would like to know how many wifi devices (mainly mobile phones Android or Iphones) can be connected to an Arduino Yun in soft AP mode.

I am doing a small project to count the number of wifi devices connected to the Arduino Yun and display the numbers on two 7segment LEDs.