Add process to count operands
Add simple test