Add counter for cleanup tasks not following the decorator