import math


def get_number_elements_per_split(total_elements, num_splits):
    # type: (int, int) -> int
    """Compute the number of elements in each split"""
    return math.ceil(total_elements / float(num_splits))