Hi! Yes I counted 5 also... here's how it might be built up:
man
...gentleman (or, manly)...
...gentlemanly...
...ungentlemanly (or, gentlemanliness)...
...ungentlemanliness.
While 'ungentle' and 'unmanly' are also possibilities, 'ungentleman' is not really accepted as a word.