fix(model.d): fix findAndCountAll.count type (#13736)
fix(model.d): fix findAndCountAll.count type (#13736)

* fix(model.d): fix findAndCountAll.count type

`findAndCountAll` should only return `count` as an array when the `group` option is provided.

This means in that case, `options` is no longer optional because when `options` is not provided, it's never a group count.
I also rearrange `findAndCountAll` order to ensure the single count overload is applied first.

* refactor(model): add fix type for findAllAndCount

* refactor(model): tidy up type with SetRequired

Co-authored-by: Sascha Depold <df3f6e4cf69a28b4d0c05e64fe74fcb2d58ad376@users.noreply.github.com>
sequelize/sequelize,sequelize/sequelize,sequelize/sequelize