Complex sentence: The 2001 UK census recorded Melksham as having 20,000 inhabitants, including sizeable environs such as Bowerhill and Berryfield; as such it is Wiltshire's fifth-largest town by population after Swindon, Salisbury, Chippenham and Trowbridge.
Split into simpler sentences: The 2001 UK census cited Melksham as having 20,000 inhabitants, including sizeable environs such as Bowerhill and Berryfield. As such it is Wiltshire's fifth-largest town by population after Swindon, Salisbury, Chippenham and Trowbridge.