Make sure where object is built for count/destroyAll

See https://github.com/strongloop/loopback/issues/248