I read on Wikipedia under semen quality that human semen has fewer sperm when emitted during masturbation or nocturnal emissions by a margin of 70-120 that of coital ejaculation (so I guess that's ~16-30 of the amount produced in coitus), depending on factors like time between ejaculations, and time for stimulation before release.