Up to 365 of those can be accounted for while being a temporary resident (on a work or study visa) on a "1 day for 2 days" basis.
You also need to actually be in Canada all those days. Any day that you're outside delays your citizenship by a day.
Then it takes about a year to process your citizenship application.
Overall, it's still much faster than most anywhere else.