This function tells you how many visitors clicked how many times in a given timeframe. Just change the first variable in the counter_count function on the last line to point to a writeable file and include this file in your pages where you want the counter to appear.
2 hits by 2 users in the last 30 minutes.