def findBreachCount(logs: str) -> int:
# Split the logs by the delimiter ';'
log_entries = [Link](';')
# Initialize the breach count
breach_count = 0
# Iterate through each log entry
for entry in log_entries:
# Convert the entry to lowercase
entry_lower = [Link]()
# Check if 'breach' is in the entry
if 'breach' in entry_lower:
breach_count += 1
return breach_count
# Example usage:
logs = "breach brEach; Breach; ; some other log; BREACH happened again"
print(findBreachCount(logs)) # Output: 3