I was wondering if any one has read anything in regards to the amount a baby can pick up when inside the mothers womb.

I have a situation where when I was pregnant I had many nightmares from my third month till i gave birth.
After I gave birth my daughter has had constant bad dreams, she wimpers (like a muffled cry)in her sleep and she is now 2.5 years old and talks in her sleep. Could this has been a result of the nightmares that I was having.