Corrected field count getter