A rectangular prism has 8 vertices (corners), 6 faces.
5 faces 9 edges 6 corners
6 faces 8 corners and 12 edges
It has 8 corners, 6 faces and 12 edges
10 faces 16 edges 16 corners
An octagonal prism has eight quadrilateral (rectangular) faces with four corners each and two octagonal faces with eight corners each. Each corner is at a vertex where three corners meet.
An octagonal prism has 16 vertices each where three corners of faces meet.