Coerce tablet count to integer