#!/bin/sh
r.mask -r
(
echo "cells"
g.region rast=fdr_conus_tl -a
r.stats -cn fdr_conus_tl | awk '{cells+=$2}END{print cells}'
) > fdr_conus_tl.cells
