parameterized get_beer_count from keg data