Adde Database.queryCount for counting occurences
Added Database.queryUnique: tests if a value is unique in table column