The Cubs reached the milestone with an overall National League record of 10,000-9,465