count number of columns based on values across a row

R

r2rcode

i need to calcuate the number of columns that have a value greater than zero
within a particular row.
 
Top