Add argument to bmap to return number of contiguous blocks.