Show only as many digits as are required to display the number of devices.