Small refactor for Analyze::ArgumentAmount.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>