# Count block count to 1 extra when it is writen after a get proberty block

**URL:** <https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563>\
**Category:** Questions about Thunkable X\
**Created:** [March 30, 2020, 9:08am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563 "2020-03-30T09:08:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [March 30, 2020, 9:08am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/1 "2020-03-30T09:08:42Z")

</div>

Is there any problems with your server.  
I also postet an error yesterday.  
I have a a count to block. The stti gs is count from 1 to 8.  
What happens is that it count to 9. If I turn it around to count from 8 to 1 it count to 0.  
Very strange.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 30, 2020, 11:25am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/2 "2020-03-30T11:25:22Z")

</div>

can you recreate this error with another count block. I have gotten wierd counting issues in the past but not like this

I have received n \* 2 and n \* 3 but what i learned is that the issues lied in where my code was placed.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [March 30, 2020, 11:40am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/3 "2020-03-30T11:40:56Z")

</div>

Yes I have also tried to delete the count block and make a new one. Same problem.  
What do you mean with where your code was placed?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 30, 2020, 11:43am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/4 "2020-03-30T11:43:55Z")

</div>

means i forgot to put my set to 0 code for my counter in the right place.  
that doesnt mean thats what’s happening to you, just my experience.

Apps usually only do what we tell them to do if we tell them to do it correctly.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [March 30, 2020, 11:52am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/5 "2020-03-30T11:52:55Z")

</div>

right. But if I tell I to count to 8 it sholdnt count to 9???

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 30, 2020, 11:59am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/6 "2020-03-30T11:59:23Z")

</div>

Start here  
 ![Screen Shot 2020-03-30 at 7.43.43 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/2/12b58c923e755c86460414bc72e1171d241737fc.png)

and then work backward until you have your app built again

this works perfectly for me. Therefore, it appears as if its not the count block that is the error.  
[https://x.thunkable.com/copy/ca413d89e026a924557a08482ac65a64](https://x.thunkable.com/copy/ca413d89e026a924557a08482ac65a64)

if your problem persists, feel free to contact me through my website. I offer low cost paid troubleshooting where I will spend 30 at least 30 minutes working through your problems with you.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [March 30, 2020, 12:02pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/7 "2020-03-30T12:02:14Z")

</div>

yes but if I cant have the other block inside I CANT make the function i want… So what to do in that case…  
Maybe you can help, if I get all row from airtable.  
How I can search for what colomn there is text in out of 16 column in row 2 and 4 out of 6 rows. I am misterius to the get row in airtable block.  
I can also put it in a nother way. What is happening in the in list block then. Because it is actually this block that changes the 8 to a 9 somehow.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/1/413b148120b6e80ff0c76cc9ff42a03ec18802f1.png)

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [April 1, 2020, 12:29pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/8 "2020-04-01T12:29:53Z")

</div>

I must say I am a little disapointed over not getting a reply. I am sitting here for 3 days waiting. I am paying for the PRO version because that shold give a faster reply. I know that ther have been going Corona in everything but could be nice with a little note with"we will look into it" or “we cant solve it, find a nother way” OR “yes there is something wrong with the block. bla bla”  
If it can not be solved just say that or do I need to solve it in a nother way it is okay. But it dosent make sence that the count block count to 9 no matter in what block the error is.  
I have had a engineer to look at the code and he also cant se the logic in that behavior.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 1, 2020, 4:26pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/9 "2020-04-01T16:26:46Z")

</div>

I am noticing some counting issues today myself. maybe they are related?

> [@'Average of list' block not working correctly?](http://community.thunkable.com/t/average-of-list-block-not-working-correctly/550119):
>
> Hello. [EDIT w/ cleaner examples] i am trying to return the average from 4 numbers. using this code [Screen Shot 2020-04-01 at 12.04.02 PM] \<\>Y values is 4 numbers. 5,2,1,0 as seen here but i get a weird number I also get this value returned when i divide the sum of list Yvalues by the length of list Yvalues what’s going on here. am i doing something wrong? This is the entire code. I insert a list of y values as is seen in the example above. the rest of the code should produ…

[edit]  
Thinking my counting issues come from interpreting numbers as text

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 1, 2020, 5:38pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/10 "2020-04-01T17:38:59Z")

</div>

my guess is ‘count 1 to 8 by 1’ is interpreted (always) as a do loop where the test at the top is: if i\>8 then goto end of block. by that time, i will have a value of 9!

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [April 1, 2020, 6:28pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/11 "2020-04-01T18:28:22Z")

</div>

yes I follow you and have thought about that. But then explain why it write 9 INSIDE the I smaller or the same than 8 then do??? But I notised that there if some different in the result if the wait is before or after the info1\_lbl text block

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 1, 2020, 6:42pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/12 "2020-04-01T18:42:26Z")

</div>

Can you reproduce the error in a share link?

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [April 1, 2020, 7:42pm UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/13 "2020-04-01T19:42:58Z")

</div>

Sure. Try this link…  
[https://x.thunkable.com/copy/c055bc96384ad3dc24aa139edb1f5a6d](https://x.thunkable.com/copy/c055bc96384ad3dc24aa139edb1f5a6d)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:39am UTC](https://community.thunkable.com/t/count-block-count-to-1-extra-when-it-is-writen-after-a-get-proberty-block/544563/14 "2024-11-08T11:39:29Z")

</div>


