moment().weeksInYear();

Gets the number of weeks according to locale in the current moment's year.