Detecting hard links with evaluator

Here's an evaluator column which shows the link count in red if it's > 1 and otherwise leaves the column empty.

<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" blurrable="no" customgrouping="no" foldertype="all" keyword="Hardlink" maxstars="5" namerefresh="no" nocache="no" reversegroups="no" reversesort="no" supportmarkup="yes" title="Hard link" type="0">if (operation == &quot;sort&quot;)
	return linkcount;
if (operation == &quot;display&quot;)
	return linkcount &gt; 1 ? linkcount : &quot;&quot;;
if (operation == &quot;markup&quot;)
	return linkcount &gt; 1 ? &quot;&lt;#ff0000&gt;&quot; + linkcount + &quot;&lt;/#&gt;&quot; : &quot;&quot;;
</evalcolumn>