I was told that I cannot claim this deduction, but the information in the following link seems to suggest that I can. https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/tax-return/completing-a-tax-return/deductions-credits-expenses/line-305-amount-eligible-dependant/you-claim-amount-eligible-dependant.html
If you are unsure of your eligibility for this credit, it would be best if you contacted the CRA to confirm: https://turbotax.community.intuit.ca/replies/2647704