Does a miscarriage count as my last AF?

Just had a miscarriage December 10th at 5 weeks pregnant. Does that count as my lmp?