A data-driven approach to simulate turbulent bubbly flows using machine learning for modeling bubble size