If you program using Xcode and want to get some statistics use Statistician
Embed a F-Script interpreter in any Cocoa application
Script editor form.