whoops left a count reference in fun.js