created script to determine common ethnicity ranking in cbos