Could  `smscount` be null ... wait, now that I'm thinking null +=1 will be 1, so no problem there.