Added method to get number of devices