Again, result.getResult().size() is not a Collection.