fix tsmh.py for count is null.