You have one network that connects 7 exits and one network that connects 5 exits. So you get 24+16 which the score calculated correctly. The overpass in the upper right does not connect your 2 networks.
Check out the Allround-League: https://boardgamearena.com/group?id=7870115 --> a league where you have matches of random games vs. other players in your group. Season 9 registration oct. '25.