Subprojects count as full projects as they have full project functionality with the added benefit of sharing milestones, issues and being displayed hierarchically.
However, you have the ability to archive projects at any time - an archived project will not count against your project limit. Should you wish to use an archived project again at a later time, you can always do so by de-archiving it.