As I said don't use the NAND gates from the modelling primitive Library. If you use 74LS10 from the TTL LS library it should work.i tried connecting this on proteus now it gives me 123123....
how should i make it go to 6 ?
Also try it out on breadboard with real chips to verify your result. I'll try it out later at it is now 5.50 AM here.
ALlen