You need to live in Canada as a permanent resident for 4 years over the last 6 years. That is 1460 days in a 6-year time period.
Additionally, you need to have lived in Canada for 183 of those days during each of the four years. If you meet these criteria, you might be eligible for Canadian citizenship.
It is sometimes possible to tally days before you received your permanent residency, towards the 4 years. Contact Canadian Visa Expert for more information about applying for citizenship.