as another alternative, you can use JXL for Jira to find your issues.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, and sorting and filtering by all your issue fields, plus a number of "special fields" that aren't natively available. The "number of comments" is one of these special fields.
This is how it looks in action:
From here, you can start working on your issues directly in JXL, trigger various Jira operations, or export your issues for further processing. JXL works for all platforms (Cloud, Data Center, Server). Disclaimer: I work on JXL.
Hope this helps,