Gravar-mail: How multiplicity determines entropy and the derivation of the maximum entropy principle for complex systems