simple ajax request w/ jquery.
simple sql statement to count duplicates