How to count dpo

How are you supposed to count dpo? Do you count the first day or the day after your green goes away on the calendar? I don't know why that confuses me so much. Thanks!