reduced mysql queries on layer edit page by showing marker count for multi-layer-maps only on demand