24 free kicks they were awarded last night to 12 for Juventus. They go hand in hand with the possession stats massively in their favour.
You're right, they do go hand in hand. Barca had more possession, meaning Juve had to tackle them more to retrieve the ball, leading to more fouls.