copilothow to calculate block quantity - Search