Activity due to a particular radionuclide is simply the product of the decay constant and the number of atoms of the radionuclide present. In the case of a isotopic mix, if one know the mass and isotopic composition, then one can determine the fraction of atoms which are radioactive isotope.
Activity is measured - usually with a counter which interacts with the radiation.
In the case of a compound, e.g. RbCl, one subtracts the mass of the Cl, which gives the mass of Rb, then apply the isotopic ratio for the nuclide. Alternatively, know that there is one Rb atom for each Cl atom, determin the number of molecules of RbCl, which give the number of atoms, of which some fraction will be Rb-87. Rb-87 has a very long half-life, 4.81E+10 y, and consequently the beta energy is quite low, ~ 283.3 keV, so self-shielding would an issue for a large sample. A 4-pi or at least a 2 pi counter would be recommended for an accurate count.