As the property include is removed for the count query, it breaks when we use a nested property in where clause. I've tried to create a Pull Request, but I didn't get the correct commit message format. Follow my commit link: https://github.com/leandrofinger/sequelize-paginate/commit/e74f00ae91139798065a448cef69b2f557b58837