Added support for OrderedDictonary and hashtable count