Electron Counts, Structural Stability, and Magnetism in BaCuSn$_2$-CeNi$_1$$_-$$_x$Si$_2$-type YT$_x$Ge$_2$ (T= Cr, Mn, Fe, Co, and Ni)