See below screenshots: When extension is disabled, the references lists all the lines where the variable is used.  When enabled, it shows only the same definition twice. 