A new study has found that people are having less sex on average today than they were in the 90s.