title: Getting size of NSMutableArray
body: <p>I have initialized an NSMutableArray like so:</p>
  
  <pre><code>tileArray = [[NSMutableArray alloc]initWithObjects:
                   (tile1,tile2,tile3,tile4,tile5,tile6,tile7,tile8,tileBlank), nil];
  </code></pre>
  
  <p>I'm attempting to print out the size of the array by doing:</p>
  
  <pre><code>NSLog(@"Size2: %i", [tileArray count]);
  </code></pre>
  
  <p>It tells me that the size is 0.  What would be causing this?</p>
  
  <p>The .h file</p>
  
  <pre><code>@interface STView : UIView{
  NSMutableArray *tileArray;
  TileView *tile1;
  TileView *tile2;
  TileView *tile3;
  TileView *tile4;
  TileView *tile5;
  TileView *tile6;
  TileView *tile7;
  TileView *tile8;
  TileView *tileBlank;
  
  int width;
  int height;
  }
  
  - (void) getScreenSize;
  @end
  </code></pre>
  
  <p>TileView.m</p>
  
  <pre><code>- (id)initWithFrame:(CGRect)frame   withImageNamed: (NSString*) imageName{
  if (self = [super initWithFrame:frame]) {
      //initilization code
      image = [[UIImageView alloc]
               initWithImage: [UIImage imageNamed: imageName]];
      image.frame = self.bounds;
      image.opaque = YES;
      [self addSubview:image];
  } return self;
  }
  </code></pre>