Professional text and hex editing with Binary Templates technology.
CountBlocks.1sc
This script finds blocks of identical characters within the file or within the selection. Results are stored in bookmarks and printed in the output pane. Block size is defined by the variable LIMIT.