Count

Count entities:

Long count=Select.from(db,tabPizza)
	.where(daoPizza.colName(),IN,Arrays.asList("CAPRICIOSA","PEPPERONI")))
	.countAny();

Count distinct:

Long count=Select.from(db,tabPizza).where(AND()
	.and(tabPizza.colPizzaId(),EQ,4)
	.and(tabPizza.colName(),EQ,'CAPRICIOSA'))
	.distinct()
	.countAny();