Merge "Replace getPhoneCount with getMaxPhoneCount upon object allocation."