return cond.asExpressionList().findRowCount();
}
public static int countIssuesBy(Long projectId, Map<String, String> paramMap) {
Form<SearchCondition> paramForm = new Form<>(SearchCondition.class);
SearchCondition cond = paramForm.bind(paramMap).get();
return Issue.countIssuesBy(projectId, cond);
}