I recently started AF but for 2 full days before the red blood I had brown mucus. This is new to me so I was wondering where do I start counting as cycle day 1?

My last AF was only 24 days until the brown mucus started, last time it was red flow straight away. Before that was my m/c.