real time count update works