miscarriage and TTC

We miscarried at 5 weeks on October 7th. I bled until the 13th and then went back to normal. We were ready to start trying again immediately and the doctor gave us the go, but I started bleeding again on the 19th. The nurse told me that sometimes you pass the actually pregnancy first and then the lining sheds once your hormones drop and that is probably what it is. I would love any advice on how to start <a href="https://play.google.com/store/apps/details?id=com.glow.android">tracking ovulation</a> again. Does this bleeding count as a period? Any insight is greatly appreciated!