How many edges does a triangular prism have?

How many edges does a triangular prism have?