It's slightly brute-force but I'd look at it this way:
-Of the exponents given, you can break out four sets of "prime base to the third" -- 2^3, 3^3 (leaving 3^1 behind), 5^3, and 5^3 (since you have 5^7, you have two sets of 5^3 you can use)
-Then there are four types of combinations you can use as your a^3: one of the four (e.g. 2^2), two of the four (e.g. 2^2 * 5^3), three of the four (e.g. 2^2 * 3^3 * 5^3), or all four.
Then you just need to remember that the 5^3s repeat, so you have the options of:
All four --> one way to do it
Three of the four --> 2, 3, and 5; 2, 5, and 5; and 3, 5, and 5 --> three ways to do it
Two of the four --> 2 and 3; 2 and 5; 3 and 5; 5 and 5 --> four ways to do it
One of the four --> the 5s repeat, so you could use 2, 3, and 5 --> three ways to do it
That gets you to 11 and you know they're all valid, so you can use the answer choices to say that you have to be missing one somewhere and pick 12. *Or* you can have the presence of mind to realize that 1^3 works as a^3 and the rest could all be part of b. Honestly...I don't think I'd see that up front but the answer choices here would definitely guide me to that, or if 11 and 12 were each options hopefully I'd do that "hey am I missing one?" double-check.
This is kind of brute-force, but I think at least organized enough that it's replicable.