Add  to removed classes
Use dedicated query to return number of logs