Calculate no of bricks in a wall