Hashtable.Count

var Count : int

Description

Returns how many elements are in the hashtable.

JavaScript
// Prints the number of elements in a new Hashtable

var ht : Hashtable;
ht = new Hashtable();
Debug.Log("Hashtable has " + ht.Count + " elements.");