How to select input have value

How to select input have value

How to select input which have value? I want to count the number.