signed triangle counting