Fix auto counting field size