what determines dog litter size