From Kx Wiki
hcount (hcount function)
Gets the size in bytes of a file as a long integer.
N.B. hcount on a compressed file returns the size of the original uncompressed file.
For a complete list of functions, see the kdb+ Function Reference.