Get file size to use in embedded script?

I've got a pretty simple webhook script that I use to post to a Slack channel when an event triggered by Hazel starts and another when it ends.
Is there a way to get the file size of the file triggering the Hazel rule that I can use in my embedded script? (The script is running Handbrake on the file, so I'd like to see its size before and after in Slack, so I know how much size I saved).
Is there a way to get the file size of the file triggering the Hazel rule that I can use in my embedded script? (The script is running Handbrake on the file, so I'd like to see its size before and after in Slack, so I know how much size I saved).