OPEN DATABASE "db";

SELECT COUNT(DISTINCT matchcode) FROM customers;
