Question: When i used these codes they dont work especially align-content doesnt work for chrome .

```css
.container {
  border: 1px solid black;
  padding-bottom: 25%;
  height: 100%;
  display: grid;
  grid-gap: 5px;
  grid-template-columns:repeat(3, 100px);
  grid-template-rows: repeat(2,100px);
  /* justify-content: center; */
  align-content:center;
}
```

```html
<div class="container">
  <div style="background-color: rgb(87, 217, 93);">1</div>
  <div style="background-color: rgb(227, 84, 18);">2</div>
  <div style="background-color: rgb(230, 73, 115);">3</div>
  <div style="background-color: rgb(0, 255, 255);">4</div>
  <div style="background-color: rgb(221, 245, 7);">5</div>
  <div style="background-color: rgb(227, 84, 18);">6</div>
</div>
```

Answer: 
```
list_strings=["a-a--","-ab-b","a---a","b-b-a","aab-a"]

# if every string in `list_strings` is same length:
out = [v.count('-') for v in zip(*list_strings)]
print(out)

```

Prints:

```
[1, 3, 1, 5, 1]

```

---

If some strings are different length:

```
from itertools import zip_longest
out = [v.count('-') for v in zip_longest(*list_strings)]

```
you are good.
just add `counter=0` variable who will add himself every time your `if` clause is true, and you will have the number of `'-'` in your list.

```
counter =0
for i in range(0,len(list_strings)):
    for j in range(0,len(list_strings[i])):
        if list_strings[i][j]=="-":
           counter = counter +1

```