#NEWLINE# def sum_posts( kinesis_actors ) : #NEWLINE# #INDENT# 'Sum all posts across an array of KinesisPosters\n    ' #NEWLINE# total_records = 0 #NEWLINE# for actor in kinesis_actors : #NEWLINE# #INDENT# total_records += actor . total_records #NEWLINE# #UNINDENT# return total_records