twice times a day I receive datas with ID , several keys as b1, b2 .. to bn with values NULL or 1 for each key.
I would like count values of each "bn" until the