def _collate_data(collation, first_axis, second_axis):
    """
    Collects information about the number of edit actions belonging to keys in
    a supplied dictionary of object or changeset ids.

    Parameters
    ----------
    collation : dict
        A dictionary of OpenStreetMap object or changeset ids.

    first_axis : string
        An object or changeset key for the collation to be performed on.

    second_axis : {'create','modify','delete'}
        An action key to be added to the first_axis key.
    """
    if first_axis not in collation:
        collation[first_axis] = {}
        collation[first_axis]['create'] = 0
        collation[first_axis]['modify'] = 0
        collation[first_axis]['delete'] = 0
    first = collation[first_axis]
    first[second_axis] = first[second_axis] + 1
    collation[first_axis] = first
