Fixed showIndex() work_count logic