Calculate average transactions per second

wouldn't something like number of transactions divided by time taken between first and last transactions be sufficient? something like

`len(allTxn) / allTxn[0].TimeReceieved - allTxn[len(allTxn)-1].TimeReceieved`