라이믹스 코어 자체적으로 제공하는 변수가 있지 않을까 했는데
검색해봤는데 안나오네요.
@php
$args = new stdClass();
$args->module_srl = $module_info->module_srl;
$output = executeQuery('document.getDocumentCount', $args);
@endphp
게시판 리스트 카테고리에서 전체 게시물수 체크하려고 했는데 이렇게 했습니다.
{$output->data->count}
참조
https://opentutorials.org/module/3774/28226