log number of windows alongside title