Added count / Removed lock / Logfile