update blue pixels count