(Formerly part of GetGameParameter, which is now obsolete)
readonly static int Room.ObjectCount
Example:
Display("The current room contains %d objects.", Room.ObjectCount);