If it's forward rendering, then the number of times FS executes is the (numberOfAllPixels * numberOfLights), and if it's deferred rendering, then the number of times FS executes is the (numberOfVisiblePixels * numberOfLights).
So if I add early-z to the forward rendering, then the number of times FS executes also becomes the (numberOfVisiblePixels * numberOfLights), so isn't there any advantage to deferred rendering?