Reverted back to working undirected triangle counting.