Does unassigned shards count in max_shards_per_node

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch 1.3

Describe the issue:
I have set the max_shards_per_node to 3000 and i have only 1 worker node in my open search cluster and there are 1500 shards hosted on that node. And there are 1500 unassigned replica shards in my cluster. My cluster is not allowing more shards saying 1500 is reached ? But why is it counting unassigned shards ? Are unassigned shards treated as open shards ?

Configuration:

Relevant Logs or Screenshots:

According to the document, only shards in closed index do not take into account. I think the reason is that unassigned shards maybe allocated in the future, if you add a new node to the cluster or other reasons, but shards in closed index will never change unless you open the index, so unassigned shards should take into account.