GORM Playground Link

https://github.com/go-gorm/playground/pull/796

Description

When using select within a scope, the Count function fails, with error:

sql: expected 12 destination arguments in Scan, not 1