Triangle Counter