Pins Not Counting Again

So After cleaning up the pins i cannot figure out how to adjust this code to count the pins correctly. What am i missing?
Capture

Privacy & Terms