Faith comes by hearing, and hearing by the word of God" (Romans 10:17) and you could look at it like this God knew He was gonna create eve so He gave Adam 25 to begin with knowing that taking that rib would give them both 24 :) just to give us something to talk about and work out some faith
All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:" (2 Timothy 3:16, KJV
We may assume that just because the bible says God took a rib from Adam to make eve that means that eve would have one more rib then men if we both have equal amounts then that just means that God chose to give eve 24 which means Adam had 25 no big deal