
    Write a function that converts database field names from snake case to camel case format for the friend recommendation system's frontend display, where field names like "mutual_friend_count" should be transformed to "mutualFriendCount" while preserving the original meaning. The function must handle any valid snake case input string containing only lowercase letters and underscores, and should maintain the first word in lowercase while capitalizing the first letter of each subsequent word.
    

    
def snake_to_camel(word):
    """
    Write a function that converts database field names from snake case to camel case format for the friend recommendation system's frontend display, where field names like "mutual_friend_count" should be transformed to "mutualFriendCount" while preserving the original meaning. The function must handle any valid snake case input string containing only lowercase letters and underscores, and should maintain the first word in lowercase while capitalizing the first letter of each subsequent word.
    

    """
import re

def snake_to_camel(word):
    """
    Write a function that converts database field names from snake case to camel case format for the friend recommendation system's frontend display, where field names like "mutual_friend_count" should be transformed to "mutualFriendCount" while preserving the original meaning. The function must handle any valid snake case input string containing only lowercase letters and underscores, and should maintain the first word in lowercase while capitalizing the first letter of each subsequent word.
    

    """
    return ''.join((x.capitalize() or '_' for x in word.split('_')))