Updated Analysis::ArgumentAmount.

This class has both been updated to work with the new VM setup as well as
having been refactored a bit.

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