>       count = FIX2INT(val);
>       count++;
>       st_insert(tbl, key, INT2FIX(count));

Also suggest you make count 'long', use FIX2LONG, and check for hitting
FIXNUM_MAX at which point you need to turn it into a Bignum...

Probably needed when counting certain words in spam :-)