need to do count(:all) for scoped