This patch stops tracking the number of includes of a file. The information is not used anywhere except for stat printing. Only tracking the fact whether a file was included or not simplifies the code and should be more efficient.
Depends on D114095.
Looks like the comment (and function name) are bitrotting here. For the name, I suggest trackIncludeFile() or something.