calc some more stats related to uris and namespaces. added to single script for performance reasons