It is extremely difficult to develop such a high level of intuition, as there is a correlation between the number of stacks and the coordinates of the battle cell. Theoretically, if you play melee units on the same map all the time, such intuition will develop over time.