TsctlSystemInstanceCountCExamples
From embeddedTS Manuals
System *sys = SystemInit(0); printf("There are %d instances of class 1 in the system.\n",sys->InstanceCount(sys,1));
System *sys = SystemInit(0); printf("There are %d instances of class 1 in the system.\n",sys->InstanceCount(sys,1));