added @param to getRowCountClosure method