Nodemcu has about 8 IOs. For most of the task this might be enough,NodeMCU IO extender comes into picture if you want to more number of output pins.