What is the error on my code?

Here are my block.if DBcount Is 0 then it work fine else it’s not working .
Showing this error

Please anyone help me?

Note : My Database Length is 30 +

First show your all got data in a label to confirm that what is your data coming from that text and is it converting it to list or not,