fix instance of former sqlalchemy .count() method to use len() now that the database returns a list instead of a sqlalchemy generator
fix instance of former sqlalchemy .count() method to use len() now that the database returns a list instead of a sqlalchemy generator

hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler