SELECT COUNT(id) AS gesammtzahl, SUM(provi) AS summe FROM vms_tracktabelle WHERE status=1
EDIT:
das status=1 sollte sein, damit nur schon vergütete gezählt werden, und nicht alle (inkl. offenen und stornierten)
Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god. - Jean Rostand, Thoughts of a Biologist (1939)