Calculates baseball statistics