Started work on counting functions not executed