def get_number_of_layers_with_params(model) -> int:
    """
        Return the number of layers that have treinable parameters.

        Receives: 
            model: Keras model

        Returns: 
            A pair containing: count, distribution
        
        Raises: 
            Nothing
    """
    total_layers = 0

    for layer in model.layers:

        if layer.count_params() > 0:

            total_layers += 1
            
    return total_layers