in your previous code, add a # sign before W1 and post your results.
Code:
SEROUT 0,N2400,["Hertz: ",#W1,13,10]
Count is not bad, but using a timer allow much flexibility, accuracy, and use less code space.