how many vertices on square vs triangle