It is important to distinguish between de jure (legally declared) and de facto national languages.
52 countries have English as a de jure official language
Key Countries where English is de facto language
In the UK, Australia, and the USA. English is not a de jure official language, despite being the one used in daily life by the vast majority of the population.