use count instead of rarity