Time count

I try make simple time count script but have one problem. The min value is always 1 any one know wath wrong in this script ?