def _count_residues(_structure, _data, residues, _ref):
    """Simple function to count the number of residues within a radius.

    Returns:
        int: Number of residues within a radius"""
    return len(residues)
