option to get block count on active pages

no bug, just an information I found useful in a few cases.