compute overall per topic (across resources) weighting by the number of
activities of resource type.