count and remove element in list, events done