Computation of the statistical complexions of molecules and ions