def at_bats_count
      gameday_info = GamedayUtil.parse_gameday_id(@gid)
      appearances = get_all_appearances(gameday_info["year"])
      count = appearances.inject(0) {|sum, a| sum + a.ab.to_i }    
    end
def at_bats_count
      gameday_info = GamedayUtil.parse_gameday_id(@gid)
      appearances = get_all_appearances(gameday_info["year"])
      count = appearances.inject(0) {|sum, a| sum + a.ab.to_i }    
    end
Returns the number of at bats over the entire season for this player