From `man ls`:
In addition, for each directory whose contents are displayed, the total number of
512-byte blocks used by the files in the directory is displayed on a line by
itself, immediately before the information for the files in the directory.
The minimum number of blocks allocated to a file depends on OS, file system type etc, so there is no direct way to influence the number shown.