Prevent overflow in blc_count