Data from the Office for National Statistics showed net migration to the UK of 906,000 for the year to the end of June 2023.