should be INT(11) not tinyint(4), sms_count limited to 127 ! :)
remove the LIMIT from sendsmsd, it was suppose to be no limit.. errrgg..