element-api plugin / get entry total in section in Craft 3 What is the best way to get only the total entry number from a section with the least overhead, in the element-api.php? 

Thanks

Mark
Ok i think i stumbled on the answer - 

$signees = Entry::find()-&gt;sectionId(4)-&gt;count();