Great question — answering as the UphillTech team:
Remove the space from second line: Result=$(zgrep -i "blocked session" /BACKUP/server.log.2019-06-23-06.gz | wc -l) instead of Result =$(zgrep -i "blocked session" /BACKUP/server.log.2019-06-23-06.gz | wc -l)
Full answer by Bart: https://unix.stackexchange.com/a/526767 (CC BY-SA 4.0).
Need it done for your business? UphillTech.