on what is based the amount of clam i can get? on the amount of btc that were in my wallet or the amount of transactions?
Neither of those. It is based entirely on the number of different addresses you have which contained (non dust) funds on 12th May 2014. You get 4.6 CLAMs for each of them.