Pregnancy after miscarriage question

I had an early miscarriage February 21st. My doctor told me it was safe to try again right away. I just took a pregnancy test 2 days before my period is due and I’m definitely pregnant. (Test below)

Would I count my miscarriage as my period? How could I tell how far along I am?