Running wordcound and cleanup