Shutter count on the G5, G6, G7 (=G70), GX1, GX7, and GX8
With your camera's battery well charged, perform the following steps in sequence:
Insert a memory card into the card slot;
Turn the camera ON and take a picture;
Turn the camera OFF;
Press and hold simultaneously the DISPLAY, AF/AE LOCK, and RIGHT CURSOR buttons, while turning the camera ON;
Now, press and hold the AF/AE LOCK button together with the MENU/SET and LEFT CURSOR buttons;
Repeat the last step, that is press and hold the AF/AE LOCK button while pressing the MENU/SET and LEFT CURSOR buttons. A two-page operation history display will appear;
Press DISPLAY to toggle between the two information menus;
Write down the number next to PWRCNT. This is how many times the camera has been powered up;
Write down the number next to SHTCNT. This is the shutter activation count;
Write down the number next to STBCNT. This is the number of times the flash has fired;
Switch the camera off to revert back to normal operating mode.
All taken from
this website.