Improvements on input test. Ignoring hidden inputs for counting