set myText to "Count of events in iCal's calendars." & return
tell application "iCal"
  repeat with myCal in calendars
    set myText to myText & return & (name of myCal) & ": " & (count events of myCal)
  end repeat
end tell
display dialog myText
/mac | Sep 01, 2010