Rollback on SQLAlchemyError
Rollback on SQLAlchemyError

no need to use _count() since the count() calls are already wrapped in try-except

fabric8-analytics/fabric8-analytics-jobs,fabric8-analytics/fabric8-analytics-jobs