Nielsen and Chuang define Projectors as:
An operator $A$ whose adjoint is $A$ is known as a Hermitian or self-adjoint operator. An important class of Hermitian operators is the projectors. Suppose $W$ is a $k$-dimensional vector subspace of the $d$-dimensional vector space $V$. Using the Gram-Schmidt procedure it is possible to construct an orthonormal basis $\vert 1\rangle,\ldots ,\vert d\rangle$ for $V$ such that $\vert 1\rangle,\ldots ,\vert k\rangle$ is an orthonormal basis for $W$. By definition, $$P=\sum_{i=1}^k \vert i\rangle\langle i\vert\tag{2.35}$$
I have a basic doubt - (I think I am missing something simple, so please excuse my limited understanding): Since it is a sum over all orthonormal basis for $W$, should this not be the Identity, $\mathbb I$, according to the Completeness Relation?