Module_depends_on

what is this error and how to solve it ? this error happens during terraform plan

Error: Invalid count argument

on .terraform/modules/k8s_online_cluster.gke.gcloud_delete_default_kube_dns_configmap/main.tf line 63, in resource “null_resource” “module_depends_on”:
63: count = length(var.module_depends_on) > 0 ? 1 : 0

The “count” value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.

I delete the state file in google cloud storage. and re-run terraform plan.
this is how i fixed the problem .