It can happen and its not controllable. Average litter size is 4-8... that is average. It doesn't mean a rat can't have just one or two, or even 9 or 10.

There is also the possibility the mother ate the rest of the litter, especially if you were bothering them or making loud noises near them during birth. This is actually a very stressful time for rats or any other rodent.