How to count the number of filled in dropdown field?