A mason constructs a wall of dimensions 270 cm \(\times\) 300 cm \(\times\) 350 cm with the bricks each of size 22.5 cm \(\times\) 11.25 cm \(\times\) 8.75 cm and it is assumed that \(\frac{1}{8}\) space is covered by the mortar. Then the number of bricks used to construct the wall is ______.