time count decorator