Calculating assembly stats