added javascript statcalc to counting.htm