i do not know what happen when i get and alert i get a zero http://i.imgur.com/BwJZRtR.png i do a refresh then the 1 appears then goes back to zero