How do you calculate luteal phase length?

Grace

Is it day after ovulation through 1st day of period or do you count only the days from after ovulation till the day before your period?