Double check by downloading the build and reuploading all files except the config files. I can not replicate this.
Also something to consider in your thinking cause your talking two different scripts
showmembers shows all comments
showgallery you can show com count based on all or only those where a message has been entered, anotherwards this is probally your issue, Your only showing comments that have messages attached in showgallery so you only find 3