Adding get samples count.
Adding getSample functionality.

Returns profile node corresponding to the top frame the sample at
the given index.

Fixes #2