object.Count
You can use object.Count as an expression. To get to it in the object pane of the event window, double-click the object, and under Misc there will be "Get the number of objects." Or just type in object.Count (replacing "object" with whatever the name of your object is, of course).
For instance:
+ System: Compare: object.Count is Less than 5
-> Do stuff
[/code:3p3uveo1]
or
[code:3p3uveo1]
+ Some condition
-> Object: Set speed to object.Count*5068
[/code:3p3uveo1]
or
[code:3p3uveo1]
+ Always
-> Set text.Text to object.Count
[/code:3p3uveo1]