Question!!!!

So if you had a miscarriage do you still claim that child. I know everyone is different but I just wanted to know? I know for those who have early miscarriages just say they had so many but to those mom’s who miscarry 18+ you know the gender and all do you still say mom of 3 or do you not count that child?