Miscarriage Help

Do you count the day you need a pad as day one of miscarriage or when u start too spot. I started too spot on July 13-17 started bleeding on the 18th passed my baby on the 19th and didn’t stop bleeding till the 23 and been having sex ever since I stopped bleeding.