How many racial groups existed in Latin american during the 18th century