Interestingly, I think Einstein saw it as a way of testing atomic theory. The method, of course, was to invent statistical mechanics. In the 1905 paper, though, he used different phenomena, Brownian motion, osmotic pressure to calculate Avogadro's number and when they gave the same number that...