Use MAXTHEMEOBJECTS instead of Count which appears to be 0 at this point.
//
// TeamMenuViewController.h
// hwengine
//
// Created by Vittorio on 08/01/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TeamMenuViewController : UIViewController {
}
@end