I am unable to create count map in new version kibana because there is missing metric section in layer setting. I have attached image also. please anyone knows how to do it?
It looks like you added an unaggregated "Documents" layer instead of a cluster layer - could you open the "Source details" to confirm? It will be stated under "Data source".
If you want to aggregate documents in close proximity and just show the overall count, use the "Clusters and grids" layer type: