Well, the thing is that if it's Sunday you can't know if it's the Sunday at the end of the week or the Sunday at the beginning of the week. Therefore, each Sunday is in two weeks and should be counted twice, 8 + 2 = 10 days in a week. Don't feel bad, a lot of people miss this.
Phewah. I feel like you just upgraded my entire life!