If you want a reference to a pulse counting circuit which sounds great as it is - look at Alan Yates website. He did one there which I built and which works very nicely thanks