How many edges does a triangular based pyramid have?