Counting homotopy types of certain gauge groups