There may be corner braces in the top of the cabinet that you can screw up into the counter. Make sure the screws are not too long. If no blocks are there, 3/4 thick ones could be added. Simplest method is to use LIquid Nails or similar adhesive on the top edges of the cabinet and just set the counter top on that. Once the glue dries, the counter top isn't going anywhere.