Update beer.h

add counter lines func