Just had to add a count to each block of a certain type for an as built plan to go into the local council GIS system. Found this code that help make the job much faster. You can add a prefix and /or suffix to the count number and start the count at whatever number you like.
http://www.cadforum.cz/cadforum_en/autonumbering-of-autocad-blocks-incremental-counter-tip6678