From the National Science Foundation:
Publication output in peer-reviewed science and engineering (S&E) journals, books, and conference proceedings serves as an indicator of scientific research activity. New data show that worldwide S&E publication output continues to grow, reaching 2.4 million in 2017, with the United States and China being the two largest producers in 2017 (17% and 19% of the world total). When counted together, the European Union (EU) countries (at 26%) produced more S&E publication output than the United States or China. Globally, S&E publication output grew at an average annual rate of 4% between 2007 and 2017 . Over the same time period, the share of internationally coauthored S&E publication output also increased from 17% to 22%.