Here is a different approach toward this problem, using the following fact:
Let $ X $ be finite dimensional CW-complex with $ d = $dim$X $. Assume $ X $ has only one base-point $ x_0 $ (i.e. $ x_0 $ is the only zero-cell). Then $ X $ is homotopy-equivalent to a reduced cone $ C(g) $ for some map $ g:\bigvee_{I} S^{d-1} \to X^{d-1} $, where $ I $ is some finite index-set.
We define the reduced cone $ C(g) $ to be the following quotient space:
$ (\bigvee_{I} S^{d-1}) \times [0,1] \sqcup X^{d-1} $ where we identifying the image of $ g $ in $ X^{d-1} $ with the end of the cylinder (i.e. $ (a,1) \thicksim g(a) $), and collapsing the middle of the cylinder and the top of it to the base-point (i.e. $ (a,0) \thicksim (x_0,0) \thicksim (x_0,t) $ for every $ t \in [0,1] $).
From now it's quite simple to conclude the finiteness of $ [X,Y] $ by induction hypothesis that $ [X^{d-1}, Y] $ is finite, since every map $ f \in [X,Y] $ up to homotopy $ X \cong C(g) $ is gluing of two maps, one is in the finite set $ [X^{d-1},Y] $ and the other is in the finite set $ \bigcup_{I}\pi_{d-1}\left(Y\right) $.