Five Thousand Years of Statistics: An Historical Overview from the Origins to the Twentieth Century