Calculation Of Number Of Lights