MA asks for spouse's total income and AGI - where is this info

My wife and I are filing married separately for both federal and MA residents. The MA state portion asks me to fill in her federal total income, federal adjusted gross income, and total number of dependents claimed to make sure that the same income and family info is reported.

- Just to make sure I answer correctly, we should fill out our federal returns as married separately. Then, I should look at her 1040, line 9 and line 11, to find the total income and federal AGI to fill in those two values for her (using the preview my 1040 function in TT). And she would do the same for mine. Is this the right approach?

- Regarding the dependents: we have 2 kids and I will be claiming both as dependents (and she would not). So I would answer "2" for the total dependents number claimed, right?

Thanks!