hooked up counting mechanism and mongolab