In the official Minecraft Wikipedia, I read that in bedrock edition, there is one diamond spawn in the buried treasure chest, but I saw two diamond in them. That is a bug that is lucky. It occured when I did a challenge of finding loots around the whole minecraft world.
Its intended, it can have different amounts and/or the person took a diamond out.