Seems that either your call is wrong or you don't have the priviliges to execute the procedure.
If you're executring the procedure from outside the package, the call should be something like:
execute counttable.samplecount(the parameter for the cursor);
You may also need to define the owner schema if you don't have a public synonym for the package.