Just to clarify, it may not even count towards your PR residency obligation. You should have been hired by the firm in Canada, and then subsequently transferred to India, in order for that time to count towards your PR residency requirement. Otherwise, you are out of luck on both counts.