During a clear night, one will inevitably see stars in the night sky. Your job today is to count the number of stars (*) from a rectangular portion of the night sky.
The first line of input will be 2 integers, h and w, which is the height(h) and width(w) of the rectangular area of sky you will be counting stars from. You may assume their values are below 1000.
The following h lines will have w characters per line, either x (Clear Sky) or * (star).
Output a single integer, representing the amount of stars (*) there are in the night sky.
5 5 x***x xxx*x x*xxx xxx*x *xxxx
7