You are right that window exists in that sense but in this case it's clear that the question writers didn't think about it.
For "window" in particular, we rarely say it the way you imply, the whole Internet has just 4 instances of these words after each other:
https://www.google.com/search?q=%22had+less+window+than%22
(you can try 'have' and 'has' for 'had'). But you might be right that the informal sense of "window" that I think you imply (window of time) might be technically the best answer in a different context but absolutely not the answer to pick!
So it actually is a good example of a potentially better answer that you shouldn't pick after analyzing the question!
You can have “less bread”, or “fewer loaves of bread”.
This is getting very pedantic though.
You have to set aside what is correct and incorrect and decide how educated the test-writer was, and what they might want you to pick, or what they are attempting to test.
This has direct relevance to the article are discussing.
Maybe in a test of English:
"John has less _____ than Mary. So they decided to go to Mary's apartment for breakfast."
A. Bread
B. Window
C. Eggs
D. Times
"
This is an incredibly stupid question oh my God. What would I even pick.
All of the choices, and the whole question, is so stupid.
But anyway obviously they want you to pick "eggs" because you are supposed to know it is good for breakfast. You can tell how low the bar is by its inclusion of window, as though you might not know this simple word.
It is ungrammatical to say "less window than", "less times than" and "less eggs than" (you're supposed to say fewer eggs than.)
Only "bread" is grammatical in that sentence and it makes just as much sense as all the other stupid choices, but I would pick the ungrammatical choice C (it's a hard one though, the resulting sentence is stupid) versus the grammatically correct choice A.
This is just a technical distinction though.