This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I would recommend Transposing your data first! This will allow you to keep this solution for as many fields as you want going forward. Then, just filter out the empty ones, count the ones left, then join this back with your original data set.