from what you write the answer is only looking for the number of moles, not the concentration. You are right, the solid would not appear in the equilibrium expression and would not be involved in calculating Kc.
NH2COONH4 <--> 2NH3 + CO2
initial moles ? 0 0
eqm moles 2 2 ?
assuming 1 mole of NH2COONH4 splits into 2 moles of NH3 and 1 mole of CO2 from the balanced symbol equation, if 2 moles of NH3 exist at eqm, 1 mole of NH2COONH4 must have split to form that. if there are still 2 moles of NH2COONH4 left at eqm there must have been 3 moles initially. And if 2 moles of NH3 have been formed at eqm, 1 mole of CO2 would be formed as its a 2 : 1 ratio
so initial moles of NH2COONH4 = 3
eqm moles of CO2 = 1
thats going on the question as you wrote it anyways!