That partial is on all pages that display a list of topics ie /recent /unread /popular and /category pages. You need to create a plugin and add hooks for those pages the hook format is filter:<template_name>.build in those hooks you need to go through the topics array and subtract one from each topic's postcount.
Boolean expression in search
is it possible to use Boolean operators to run advanced search queries in nodeBB search functionality?
As far as I'm aware this completely depends on the search plugin you're using.
You can use
orby changing the match words option in advanced settings. Mongodb also supports some other options like
"phpbb" -"nodebb"this would match topic titles that contain
nodebb, example search