That's pretty ambiguous, but in general I think what you were told was referring to the fact that conventional mortgage lenders will only lend up to 4 mortgages (and I believe that would include your primary residence).
After that you have to go to commercial, hard money, or portfolio lending where there are not any restrictions on how many properties you can have.
I guess the number is 4 because they (residential mortgage bankers) think that would reasonably cover most personal scenarios of primary residence, summer home, winter home, and vacation condo! And they aren't making their rules for the convenience of real estate investors.
Also keep in mind that with conventional financing there are rules about loan seasoning that prevent you from cash out refinancing a loan that is less than 6 months old. So if you borrow expensive money (i.e. hard money) to buy a property and rehab it then you won't be able to get a cheaper conventional loan for 6 months. If you pay cash to buy/rehab then there is a loophole called 'delayed financing' that allows for cash out refinance before 6 months, but only for the purchase price plus closing costs up to 70% LTV.