You need to create a variable like mine with an initial value of 0. Then you can modify when you want to begind/end counting on blocks 2 and 4 in my example.