Can You Still Get Pregnant After Miscarriages??

My Fiance and I have been together for 3 years as of Jan 8th 2017. We have been trying to get pregnant since June 14th. I got pregnant and ended up losing it shortly after. July 9 I got pregnant again too soon and lost the baby 3 weeks later. When I was 16 I was told that I may not be able to have children due to low egg count. I'm scared that I have lost my ability to have kids now...I have had several late periods and symptoms just to find out its depression and stress and not pregnancy. Currently I am 5 days late and have a pink mucus discharge... tmi sorry... I'm scared to take a test again just to be disappointed. Has anyone ever dealt with any thing like this?