I'm assuming you are using assessment mode, so you have a code and an assessment value for each sub-question.
If so, and say your question is "q1", you would store the assessment value for an array by creating a new Equation question (let's call it q1score) with the following value in the question field:
This will auto-expand when you use Show Logic File to something like:
{sum(q1_A_1.value, q1_A_2.value, ..., q1_B_1.value, ... q1_N_9.value)}
and thus will compute the sum of all of the selected (or entered if using text fields) items within the array.