Measure Areas by Counting Unit Squares