class QueryBuilder extends StatementBuilder<T, ID> {

	public long countOf() throws SQLException {
		String countOfQuerySave = this.countOfQuery;
		try {
			setCountOf(true);
			return dao.countOf(prepare());
		} finally {
			setCountOf(countOfQuerySave);
		}
	}

	public  QueryBuilder(DatabaseType databaseType, TableInfo<T, ID> tableInfo, Dao<T, ID> dao);

}