[mysql] Count how many rows have the same value