Calculate the Required number of Bricks