Add Fields#getFieldsCount()