Spaces with finitely many non-trivial homotopy groups all of which are finite