refactor part two
adding count to window title