[Skunkworks] PHP/MySQL: Is there a better way to count distinct values in a column