Fixed the name of "invent"
Added counting and a success message to the cleanup command