How do you count dpo?

Steph
How do you count dpo? Is it from the first day glow says ur fertile or ur peak? Or is it after all of the peak days?