public NoteCollectionCounts findNoteCounts(string authenticationToken, NoteFilter filter, bool withTrash)
{
#if !SILVERLIGHT && !NETFX_CORE
send_findNoteCounts(authenticationToken, filter, withTrash);
return recv_findNoteCounts();
#else
var asyncResult = Begin_findNoteCounts(null, null, authenticationToken, filter, withTrash);
return End_findNoteCounts(asyncResult);
#endif
}
#if SILVERLIGHT || NETFX_CORE