CD1: Brown spotting or bleeding?

I generally have a few days of brown spotting before my period starts. Should I count the first day of spotting as CD1 or the first day of bleeding?