Counting Volume Of Cubes