Added base code for 3 blocks

Three blocks:
- run
- get count
- end