Hi,
I have a data table with columns (around 60) representing the different question code and rows respresenting individual student id and their corresponding scores obtained for each questions. Each student was given a different set of booklets with different questions. The scores given for each question is either 0 (no credit) or 1(partial credit) or 2(full credit) and missing values for those question which a student did not get in his/her booklet. I would like to get the count of questions for which the score was not a missing value and > 0 (ie.,1 and 2) in a new column. Below is my sample data table.
| CNTSCHID | CNTSTUID | GENDER | L6 - M00GQ01S | L2 - M033Q01S | L4 - M034Q01S | L3 - M155Q02C | L5 - M155Q03C |
| 70200001 | 70205783 | Male | 0 | 1 | 0 | 1 | 0 |
| 70200001 | 70205411 | Female | 1 | 0 | . | 1 | 1 |
| 70200001 | 70205421 | Male | 1 | . | 0 | 2 | 1 |
| 70200001 | 70201886 | Female | 1 | 0 | 2 | 0 | . |
| 70200001 | 70206437 | Female | 1 | 1 | 2 | 2 | 1 |
Thanks in advance.