title: Problem Comparing Value Returned by valueForKey Method of NSDictionary
body: <p>I use TouchJSON to convert the following to an NSDictionary object</p>
  
  <pre><code>// sample JSON object
  {
  data =     (
              {
          companyId = 4779;
          companyName = "ABC Corporation";
      },
              {
          companyId = 4806;
          companyName = "EFG Corporation";
      }
  );
  dataCount = 2;
  success = 1;
  }
  
  NSString *src = @"http://mysite/app1/companyList.php";
  NSURL *url = [[NSURL alloc] initWithString:src];    
  NSData *data = [[NSData alloc] initWithContentsOfURL:url];
  NSError *error = nil;
  NSDictionary *dic = [[CJSONDeserializer deserializer] deserializeAsDictionary:data error:&amp;error];
  
  int dataCount = (int) [dic valueForKey:@"dataCount"];
  
  // This is where I have problem with. The (dataCount == 1) expression never evaluates to true even if value of dataCount from the JSON object equals to 1.
  if ( dataCount == 1 ){
    // do something
  } else {
    // do something else
  }
  </code></pre>
  
  <p>Have I done anything wrong?</p>
  
  <p>I'd appreciate any help.</p>