Well, the answer is, "Depends on who you ask" and "it depends on the opening."
A good enough explanation from the wikipedia entry on the Middlegame:
The middlegame in chess refers to the portion of the game that happens after the opening and before the endgame. There is no clear line between the opening and middlegame, and between the middlegame and endgame. In modern chess, the moves that make up an opening blend into the middlegame, so there is no sharp divide. At elementary level, both players will usually have completed the development of all or most pieces. The king will usually have been brought to relative safety. However, at master level, the opening analysis may go well into the middlegame.
How exactly is an opening defined, and how many moves does an opening consist of?
From my own very limited experience as an absolute beginner, It seens as though you have prety much set your stall out with your first 2-3 moves.