This function returns the first value in the attribute converted to a long type. The function returns 0 if the entry does not contain the attribute specified.