public int versionCount()
    {
        return versionWrappedStates.size();
    }
Returns the number of schema versions.
@return the number of schema versions.
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/common/FieldPrecedenceModel.java