radv: compute the number of subpass attachments correctly