adding booking counting mechanism