Your objective is to take multiline ASCII like
| v |
* * * *
* * *
and have an array that includes everything that isn't a star changed to a star (except for [any-width] spaces) and the number of stars it included and the number of stars it now includes. So the output of my example would be:
['* * *
* * * *
* * *',7,10]
or
["* * *\n* * * *\n * * *", 7, 10]
depending on what your code language does.
This is a code-golf challenge, so the shortest bytes wins!