ACMAKER_dev: Added working algorithm for counting

Added hard coded cases which work fine.
Still to adapt to the site's input method