Indeed, he wondered about the Rambam, for from his words in the enumeration of the mitzvot it is apparent that women are not obligated. For he wrote after all the positive mitzvot that there are sixty mitzvot practiced in this time, and in fourteen of them women are not obligated, and he counts among them mitzvah eighteen that they are not obligated in, and mitzvah eighteen is the mitzvah of writing a sefer Torah (ibid.). And I wonder about this: for on the contrary, from the Rambam it is explicitly apparent that women are obligated in it, for inside the enumeration of the mitzvot, regarding every mitzvah that they are not obligated in, he writes explicitly "and women are not obligated in this mitzvah," and regarding this mitzvah he did not write so, see there. Understand from this that they are obligated. And in the lettered indicators at the end of the positive mitzvot many errors fell, for he wrote that there are sixty mitzvot practiced in this time and there are not sixty there. And he wrote that in fourteen women are exempt and there are only twelve there, see there. And according to what I have written, that eighteen is also an error, and three are missing. And the truth is indeed so, that there is missing there mitzvah thirty-seven regarding the impurity of relatives for kohanim in which women are not obligated, and mitzvah eighty from redemption of the son in which women are not obligated, and mitzvah two hundred and fifteen to circumcise the son in which women are not obligated. And the Rambam explained all of them inside, but at the end in the indicators they are not found, see there. And according to this, on the contrary, it is proof that the Rambam also holds so. (And there are some of the great ones who followed after the words of the Sha'agat Aryeh and wrote so, that the Rambam wrote that women are not obligated in the writing of a sefer Torah, and it is an error as we have clarified with the help of Heaven. However, the Ra'ah in the Chinuch wrote that women are exempt, see there.)
האמנם תמה על הרמב"ם, שמדבריו במניין המצות מבואר שאין הנשים חייבות. שכתב אחר כל המצות עשין שיש ששים מצות הנוהגות בזמן הזה, וארבע עשרה מהם אין הנשים חייבות בהן, וקחשיב בתוכן מצוה שמונה עשרה שאינן חייבות, ומצוה שמונה עשרה היא מצות כתיבת ספר תורה (שם). ואני תמה בזה: דאדרבא מהרמב"ם מבואר להדיא דנשים חייבות בה, שהרי בפנים במניין המצות בכל מצוה שאינן חייבות כותב להדיא "ומצוה זו אין הנשים חייבות בה", ובמצוה זו לא כתב כן, עיין שם. שמע מינה שחייבות. ובהציוני אותיות שבסוף העשין נפלו טעות רבות, שכתב שיש ששים מצות הנוהגות בזמן הזה ואין שם ששים. וכתב דבארבע עשרה נשים פטורות ואין שם אלא שתים עשרה, עיין שם. ולפי מה שכתבתי גם דהך שמונה עשרה טעות הוא, וחסר שלוש. והאמת כן הוא שחסר בשם מצוה שלושים ושבע בטומאת קרובים בכהנים שאין הנשים חייבות, ומצוה שמונים מפדיון הבן שאין הנשים חייבות, ומצוה מאתיים וחמש עשרה למול את הבן שאין הנשים חייבות. וכולן ביארן הרמב"ם בפנים, ובסופו בהציונים לא נמצאו, עיין שם. ולפי זה אדרבא ראיה דגם הרמב"ם סבירא ליה כן. (ויש מהגדולים שנמשכו אחרי דברי השאגת אריה. וכתבו כן שהרמב"ם כתב שאין הנשים חייבות בכתיבת ספר תורה, וטעות הוא כמו שבררנו בסעייתא דשמיא. אך הרא"ה בחינוך כתב דנשים פטורות, עיין שם.)