Yes. Any income "counts" except for Social Security.
Yes, royalties count as income for a qualifying relative dependent.
Please review the TurboTax Help article Who can I claim as my dependent? and the IRS Publication 501 on Dependents, Standard Deduction, and Filing Information.