added publisher allow callback and separate results and count subscribers callbacks
fixed allowed method for count publisher
merged with 0.1.2
merged with 0.1.2