Hi @cjb312,
At a first glance I see that the field name for the thread count is commented out, can you try to remove the comment for the line with field: threading.thread_count?
If this doesn't fix the issue, are other metrics collected? Do you see any error in metricbeat logs?