Just be aware that BCOUNT does not count nested blocks... (blocks within blocks). And AutoCAD 2002's EATTEXT (Enhanced ATTribute EXTract) has a much easier to use interface that:
a.) Handles nested blocks and XREFs,
b.) Can write directly to an XLS or MDB file (if Excel or Access is installed),
c.) Can be saved to a template for frequent or similar extractions.