The term of the patent is counted from the date when the patent application is filed. If the provisional application is filed, it becomes the date but if complete specification is filed first, it becomes the filing date. 