def METHOD_NAME(self, graph: NNCFGraph, output_channels: Dict[NNCFNodeName, int] = None) -> int:
    """
    Counts filters of `op_metatypes` layers taking into account new output channels number.
    :param graph: NNCFGraph.
    :param output_channels:  A dictionary of output channels number in pruned model.
    :return: Current number of filters according to given graph and output channels.
    """
    filters_num = 0
    output_channels = output_channels or {}
    for node in graph.get_nodes_by_metatypes(self._conv_op_metatypes + self._linear_op_metatypes):
        filters_num += output_channels.get(node.node_name, get_output_channels(node))
    return filters_num