Need help for my arduino project PLEASE ANYONE!

BTW if I use the max how many pins will that use up. If I could use all digital pins that would be nice.