Change JdbcStepExecutionDao.COUNT_STEP_EXECUTIONS to access the table batch_job_execution only once. Issue #3876