A team has finished a game with 17-12 singles and extra-base hits 1 time since 1897, most recently Chicago White Sox on 23 April 1955. That is about one every 443,004 team-games.
Box score for the most recent one ↗
17-6 17-7 17-8 17-9 17-10 17-11 17-12 18-0 18-1 18-2 18-3 18-4 18-5
The whole distribution — Singles and Extra-Base Hits · All 18 shapes