.. highlightlang:: us .. _obj_count_num: obj_count_num ============= .. index:: obj_count_num .. us.tag obj_count_num NOTREADYENGLISH New410 obj :ref:`obj_count_num` returns the number of number keys in an object. .. function:: n = obj_count_num(o) .. us.return **Return Value** *n* is the number of number keys in the object. .. us.params **Parameters** .. uparam:: o *o* is the object created with :ref:`obj_create`. .. us.comment **Comment** An alternative syntax for ``n = obj_count_num(m)`` is ``n = m.count_num()``. .. us.example **Example** :: m = obj_create() m.a = 123 m.b = 456 m[1] = 3 print m.count_num() // prints 1 .. seealso:: :ref:`overview-uniscript-objects`, :ref:`obj_count`, :ref:`obj_count_str` :sub:`id-462754`