While playing in his favourite text editor, Daniel decided to draw a picture that was $N$ characters high and $M$ characters wide. The picture consists solely of characters `.` and `*` such that characters `*` form some non-overlapping rectangles. The rectangles don't even touch each other on their sides or corners.
Help Daniel count the number of rectangles drawn on the picture.
输入格式
The first line contains two integers $N$ and $M$ $(1 \le N, M \le 100)$ from task description.
Each of the next $N$ lines contains $M$ characters `.` or `*` which represent the picture that Daniel drew.
输出格式
In a single line you should output the number of rectangles on the picture.