Analytical and numerical expressions for the number of atomic configurations contained in a supershell