Getting the mesh component of an object

Hi all,
I’d like to calculate the width of an object, and I read that I’m supposed to use Mesh.bounds.size

What I still need to figure out is how do you get the mesh of an object to call the bounds method on?

Take a look