Mirror Maze

A laser is fired into a room with double-sided mirrors.

The laser reflects off several mirrors and then exits the room.

In this room, the laser reflects off mirrors three times:

In this room, the laser reflects off mirrors seven times.:

How many times would the laser reflect off a mirror before exiting the room below?