Total active devices connected to the LAN

I have succeeded in displaying the total active devices connected to the SSID, how do I display the total active devices connected to the LAN, behind the LAN I added 1 access point to expand the WiFi range