Variant works with triangle counting but is slow.  Need to debug performance.