```
$lts = mysqli_fetch_all($con->query($query), MYSQLI_NUM);
for($i=0; $i<count($lts); $i++){
    for($j=0; $j<count($lts[$i]); $j++){
        $lts[$i]=$lts[$i][$j];
    }
}

```

Here is $lts var\_dump:

```
array (size=2)
  0 => string '20' (length=2)
  1 => string '21' (length=2)

```

Is giving me this Warning 

> 
> Parameter must be an array or an object that implements Countable
> 
> 
> 

This just happened when upgrading from PHP7.1 to 7.2. Any idea how to fix it?