input: Write a Python function to count the number of active websocket connections.
  assert count_active_connections() == 0
  assert count_active_connections(['ws1', 'ws2']) == 2
  assert count_active_connections(['ws1', 'ws2', 'ws3', 'ws4']) == 4
output: def count_active_connections(connections=[]):
      return len(connections)