add_count_bar function

Add count