Add count() and lookup() to ScopedHashTable. It might be useful to get information...