Syntax - Computing attrition at different time points

#1
Hi

I am new to syntax and was wondering if anyone could help me with the following. I have two different questionnaires Depression (eg. T0_Depress_1, T0_Depress_2,T0_Depress_3, etc.) and Anxiety (e.g, T0_Anx_1, T0_Anx_2, T0_Anx_3, etc.) at two time-points (Baseline and Follow-up).All the items are scored on a Liket Scale 1-5. I would like to create a new variable that allows me to find out how many people completed and how many people did not complete each of the questionnaires at each of the two time-points.