ASCII area
----------

Long time ago, most PCs were equipped with video cards that worked
only in text mode. If the programmer wanted to show a picture on a
screen, she had to use pseudographics or ASCII art.

In this problem you are given a polygon, drawn using ASCII art. Your
task is to calculate its area.

The picture is formed using only three characters: '.', '\', and '/'.
Each character represents a unit square of the picture. Character '.'
represents an empty square, character '/' a square with a segment from
the lower left corner to the upper right corner, and character '\' a
square with a segment from the upper left corner to the lower right
corner.



Input
-----

The input contains several test cases, each of them as follows:

The first line of each case contains integer numbers h and w (2 <= h,w
<= 100), the height and width of the picture. The next h lines contain w
characters each, the picture drawn using ASCII art. It is guaranteed
that the picture contains exactly one polygon without self-intersections
and self-touches.

Output
------

For each test case, output one line containing one integer number, the
area of the polygon.

Sample Input
------------

4 4
/\/\
\../
.\.\
..\/

Sample Output
-------------

8