class RestartRunDao extends NamedParameterJdbcDaoSupport {

    public Integer countPipelineRestartRuns(Long restartingRunId) {
        Assert.isTrue(!Objects.isNull(restartingRunId), "Restarting Run ID is required");
        return getJdbcTemplate().queryForObject(countPipelineRestartRunQuery, Integer.class, restartingRunId);
    }

}