Fix open issues count

Fixed #346