Count instances instead of windows and also show the counter

Change-Id: Ida1d0c9424d09169f3c7f76ebf70dcced5742dad