Hernia question ?

My husband has a hernia and now his balls are the size of a grape fruit can that cause his sperms count to decrease ? We are in the process of getting his surgery but till he has it does it harm his count ?