Complex sentence: People in Namibia were enumerated by race in all 20th century censuses but not in the 2001 census, by language and religion in all censuses since 1951.
Split into simpler sentences: People in Namibia were enumerated by race in all 20th century censuses but not in the 2001 census. They were enumerated by language in all censuses since 1951.