Fan-in with resistor?
It is 8, fan-in speaks to the hidden logic complexity and thus speed.  Tying inputs together does not remove those elements inside the gate (transistors).

In some synthesis engines, this cell would be optimized to a 4 input gate and then the fan-in would be 4.