Many of my GitHub repositories include a CloudFormation stack. The CloudFormation stack(s) can be deployed via. a button that looks like 
To better understand the usage of the repositories I create, I can look at the number of times the YAML file(s) corresponding to a CloudFormation stack are accessed. This is a proxy measurement of how many times a CloudFormation stack has been deployed
The repository has 2 python scripts. aggregate_server_access_logs.py and analyze_server_access_logs.py
aggregate_server_access_logs.py aggregates the many small files that store S3 server access logs into a single large file. This is not 100% necessary but it keeps the S3 bucket that holds the logs neat.
analyze_server_access_logs.py uses a regular expression to find the instances of REST.GET.OBJECT for specific YAML files and counts how many times get object request(s) were made.
The aggregated view of how many times a REST.GET.OBJECT request was made against a CloudFormation template is stored in Server_Access_Log_Data/. Each file is named with the date it was run on. Look at the file with the most recent date for the most up to date results.