private int GetAssociatedObjectCount(string name, long obj_id, bool isAsync, GetAssociatedObjectCountCallback callback, Object state)
        {
            var parameterList = new Dictionary<string, string> { { "method", "facebook.data.getAssociatedObjectCount" } };
            Utilities.AddRequiredParameter(parameterList, "name", name);
            Utilities.AddRequiredParameter(parameterList, "obj_id", obj_id);

            if (isAsync)
            {
                SendRequestAsync<data_getAssociatedObjectCount_response, int>(parameterList, new FacebookCallCompleted<int>(callback), state);
                return 0;
            }

            var response = SendRequest<data_getAssociatedObjectCount_response>(parameterList);
            return response == null ? 0 : response.TypedValue;
        }
 /// <summary>
 /// Returns count of object ids that are associated with specified object. This function takes constant time to return the count, regardless how many objects are associated. 
 /// </summary>
 /// <example>
 /// <code>
 /// 
 /// </code>
 /// </example>
 /// <param name="name">Name of the association. </param>
 /// <param name="obj_id">Object identifier. </param>
 /// <param name="callback">The AsyncCallback delegate</param>
 /// <param name="state">An object containing state information for this asynchronous request</param>        
 /// <returns>integer: count of associated objects of the specified object. Seems to be returning empty string for zero. </returns>
 public int GetAssociatedObjectCountAsync(string name, long obj_id, GetAssociatedObjectCountCallback callback, Object state)
 {
     return GetAssociatedObjectCount(name, obj_id, true, callback, state);
 }