Each input line is a single bit that can be low or high. Seven such lines together form a 7-bit input word.
The number of different 7-bit words equals the number of ways to fill 7 slots with two choices each: \[2 \times 2 \times 2 \times 2 \times 2 \times 2 \times 2 = 2^{7}\]
That total is 128, so the truth table needs 128 input rows regardless of the gate type.