There is actually no limit to the number of c-sections you can have, so the maximum number is not 3. However the more c-sections you have, the longer the operation and higher the risk of complications.
http://www.babycentre.co.uk/x546895/how-many-caesareans-can-i-safely-have