title: how to store array count in nsuserdefault
body: <p>How to Store long value in nsuserdefault</p>
  
  <pre><code>[[NSUserDefaults standardUserDefaults] setObject:[Arrayvalue count] forKey:@"ArrayCountNumber"];
  [[NSUserDefaults standardUserDefaults] synchronize];
  </code></pre>
  
  <p>or i am already tried to store [Arrayvalue count] into long value and like this</p>
  
  <pre><code>[[NSUserDefaults standardUserDefaults] setObject:longvalue forKey:@"ArrayCountNumber"];
  [[NSUserDefaults standardUserDefaults] synchronize];
  </code></pre>
  
  <p>Nothing worked...</p>
  
  <p>Advance Thanks...</p>