So the actual answer is 38 Golds and 88 Medals. I think my prediction is quite accurate. Medals and golds number are both correct for Artistic Swimming, Basket 3*3, Canoeing Sprint, Fencing, Artistic Gymnastics, Trampoline, Rowing and Weightlifting. At least one of medals or golds number correct for Athletics, Badminton, Cycling Track, Diving, Karate and Table Tennis. Sailing and Shooting are beyond estimation while Archery, Boxing, Volleyball and Taekwondo are under estimation. Below is the prediction vs. actual by sport:
Archery - 2 vs. 0
Artistic Swimming - 2 vs. 2
Athletics - 8 (2 Gold) vs. 5 (2 Gold)
Badminton - 6 (1 Gold) vs. 6 (2 Gold)
Basket 3x3 - 1 vs. 1
Boxing - 3 (1 Gold) vs. 2
Canoeing Sprint - 3 (1 Gold) vs. 3 (1 Gold)
Cycling Track - 1 vs. 1 (1 Gold)
Diving - 10 (7 Gold) vs. 12 (7 Gold)
Fencing - 1 (1 Gold) vs. 1 (1 Gold)
Gymnastics Artistic - 8 (3 Gold) vs. 8 (3 Gold)
Gymnastics Trampoline - 3 (1 Gold) vs. 3 (1 Gold)
Karaté - 2 (1 Gold) vs. 2
Rowing - 3 (1 Gold) vs. 3 (1 Gold)
Sailing - 1 vs. 2 (1 Gold)
Shooting - 5 (2 Gold) vs. 11 (4 Gold)
Swimming - 8 (2 Gold) vs. 6 (3 Gold)
Swimming Marathon - 1 vs. 0
Table Tenis - 7 (5 Gold) vs. 7 (4 Gold)
Taekwondo - 3 (1 Gold) vs. 1
Volleyball - 1 (1 Gold) vs. 0
Weightlifting - 8 (7 Gold) vs. 8 (7 Gold)
Wrestling - 2 vs. 4
Total 89 vs. 88
Gold 36 vs. 38