Performance test of a lead-glass counter for the J-PARC E36 experiment