Statistics for Studying and Leveraging API Usage Patterns