Add 20 attributes limit for project

Add 20 attributes limit for project to the existing attach and detach logic.

Edited by Gal Katz