Hashirama is a bay, space or distance between two pillars of a palace and so on in traditional Japanese architecture. It is also simply called ma.
To express the dimension of the exterior surface of a building, the number of bays between two pillars is usually used instead of the sizes.
In this case, Hashirama of Maguchi (width) is referred to as 'Ken' and that of Okuyuki (depth) as 'Men' (Sometimes Men is expressed as 'Depth is so-and-so Ken').
For instance, 'Seven Ken and five Men' means the number of Hashirama of Maguchi is seven and that of Okuyuki is five.
Since it has nothing to do with an actual dimension, the expression, a simply-expressed 'Seven Ken and five Men' may possibly mean that Okuyuki is longer than Maguchi.
When the numbers of Ken and Men are equal like 'Three Ken and three Men', it is sometimes expressed as 'Keda sangen' (three squared mats).
While Sanjusangendo Temple (thirty-three Ken hall) in Kyoto does not mean the length of the structure is 33 Gen (approx. 1.818 x 33 = 59.994m) long, the name derived from the fact that the number of Hashirama (bays) of the Naijin (the inner sanctum located in the main hall) of the structure is 33 and its actual length is 65 Ken (approx. 1.818 x 65 = 118.17m).
Ikkensha' or 'Sangensha' regarding the main building of a Shinto shrine means that it has one or three Hashirama on the front facade of the building.
And, in the case of large structures, sometimes, only the number of Hashirama on the front facade is mentioned, for instance, 'Daibutsu-den Ichiu Niju Juikken' (The Great Buddha hall, one two-story building with 11 bays), then it is possible to know there are 11 Hashirama on the front facade but not for the depth or the side only by this description.