Is there a way to improve sperm quantity and motility?

Perhaps. Decreasing ejaculatory frequency, wearing boxers instead of briefs, avoiding spas and hot tubs, wearing looser fitting trousers, repairing varicocoeles and hernias, may all contribute to better numbers of sperm and perhaps motility and quality.