{{tag>Function Function_List Miscellaneous}} ====== SEARCH_COUNT ====== ===== Description ===== Returns the number of object instances found by the last query ===== Syntax ===== ''SEARCH_COUNT'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== None ===== Returns ===== **Number**: how many object instances the last query found. ===== Example ===== FIND ALL Account IF SEARCH_COUNT = 1 THEN DISPLAY MESSAGE ('One account was found') ===== Related ===== [[ref:a_f:f:af:list_size|LIST_SIZE]], [[ref:a_f:f:af:element_count|ELEMENT_COUNT]]