@Override
    public int getBatchCount() {
        return batches.size();
    }
Populate the INSERT clause with the properties of the given bean using
the given Mapper.

@param obj object to use for population
@param mapper mapper to use
@return the current object
querydsl-sql/src/main/java/com/querydsl/sql/dml/AbstractSQLInsertClause.java