generalize weighted collections to just be freq maps