py2.6 compabilty if no OrderedDict
Add count and summarize methods