def get_file_chunk_count(
        file_path: str,
        chunk_size: int = DEFAULT_CHUNK_SIZE
) -> int:
    """
    Determines the number of chunks necessary to send the file for the given
    chunk size

    :param file_path:
        The absolute path to the file that will be synchronized in chunks
    :param chunk_size:
        The maximum size of each chunk in bytes
    :return
        The number of chunks necessary to send the entire contents of the
        specified file for the given chunk size
    """
    if not os.path.exists(file_path):
        return 0

    file_size = os.path.getsize(file_path)
    return max(1, int(math.ceil(file_size / chunk_size)))
Determines the number of chunks necessary to send the file for the given
    chunk size

    :param file_path:
        The absolute path to the file that will be synchronized in chunks
    :param chunk_size:
        The maximum size of each chunk in bytes
    :return
        The number of chunks necessary to send the entire contents of the
        specified file for the given chunk size