import re


def RegCount(x: str):
    """
    Input: String
    Output: Integer
    Counts the number of Upper Case, Lower Case, Special and Numerical Characters.
    """
    c1,c2,c3,c4=0,0,0,0
    for i in x:
        if re.search("^[A-Z]+$",i):
            c1+=1
        elif re.search("^[a-z]+$",i):
            c2+=1
        elif re.search("^[1-9]+$",i):
            c4+=1
        elif re.search("^[!@#$%^&*]+$",i):
            c3+=1
    print("Number Of Upper Case: ",c1,"\nNumber of Lower Case: ",c2,"\nNumber of digits: ",c4,"\nnumber of special char: ",c3)
    return "Alldone"