Would this technically be my 3rd pregnancy?

Even if I didn’t carry my last 2 to term? I’ve had one abortion and one miscarriage. I’m pregnant now, Would my body sense that this is my third pregnancy or would it not make a difference since I didn’t have the babies?