Semen analysis sample days after sex

An

How long should you wait after sex to get sample done for ideal sperm count? Thanks