I don't know if this is the best way, but I think you can do it by placing the following loop code at the top of the category.html template page (This would count the number of links):
<%set Link_Counter = 0%>
<%loop links_loop%>
<%set Link_Counter += 1%>
<%endloop%>
Then you can place the search bar at the bottom somewhere with:
<%if Link_Counter > 9%>
<%include include_search_bar.html%>
<%endif%>
--FrankM
<%set Link_Counter = 0%>
<%loop links_loop%>
<%set Link_Counter += 1%>
<%endloop%>
Then you can place the search bar at the bottom somewhere with:
<%if Link_Counter > 9%>
<%include include_search_bar.html%>
<%endif%>
--FrankM