Counting sql

Is there a way to count objects in sql query, following the posting from

bjoern (diplomate) 03/07/2008 - 12:05
Isn´t there a clever MySQL-function that could sort things out for you?
Maybe Google knows:
count distinct mysql


I’m trying to sort/count stuff inside vvvv, anyone willing to update the MySql suite?

A SUM utility would be nice too