avoid possible div 0 in GetRawCount?, see http://chdk.setepontos.com/index.php?topic=2509.msg123758#msg123758