Fixed the Number of items code to act properly and removed all debugging...

... statements