Display a in a frame label the count of the devices ON for a group

Hi,

i want to know if it’s possible to display in the Text Item the number of Devices ON for a Specific /Total Group items

i want to replace the ok by for example : 32/34 Total ON/Total Group

your guidance will be appreciated

        Text item=gDevices  icon="toggle" label="Connected Devices [MAP(status.map):%s]" labelcolor=[gDevices==OFF="yellow", gDevices==ON="green"] {	
                Frame label="Connected Devices" icon="toggle"   labelcolor=[PersistenceGDevices==OFF="yellow", PersistencegDevices==ON="green"]  {
							//
							//

                }
        }

Pointers in this thread. Summary, you can easily display cont of “ons” but not of total.