What Things Come in Eights?

To the best of my knowledge, hot dog bun packages come in eights, some packages of hot dogs, socks and pencils. Now why some things come in eights and some in tens is beyond me!