A.Z.
You didn't miscarry, you ovulated 3 days earlier than you otherwise might have. It's very normal for cycles to vary by several days as ovulation day can be affected by many factors. Ovulations kits are very helpful for determining your fertile period. And yes, the first day of bleeding is considered the first day of your menstrual cycle.