Need to initialize the global count to 0