Place each topic in a database table that has a "count" field
initializede to zero. When a user selects a topic, retrieve the
record for that topic, increase the count field by 1 and update the
database. When you want to the top three topics, do a
<CFQUERY NAME="foo" MAXROWS="3" ... >
SELECT topic, count FROM myTable ORDER BY count DESC
</CFQUERY>