copilothow to calculate breadth - Search