Nodemcu has about 8 IOs. For most of the task this might be enough, if you want to more number of output pins there is way to extend