Why the number is 64
The eight trigrams are the base symbolic units of the system. When one trigram is paired with another, the number of possible combinations becomes 8 times 8, which gives 64 hexagrams.
That is why the number belongs to the internal logic of the system rather than to a random historical decision.