Doorbell Transformer?
That is not a transformer. It is a simple junction box with 3 cables.

This is what a doorbell transformer looks like. Notice the brown cable on the right. That is the type of cable you should be looking for to locate your transformer.